package org.zhxy.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.zhxy.model.entity.Admin;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author walter
 * @description 针对表【tb_admin】的数据库操作Service
 * @createDate 2025-07-01 10:22:04
 */
public interface AdminService extends IService<Admin> {
    Admin findByName(String name);

    IPage<Admin> page(IPage<Admin> page, String adminName);

    boolean updatePwd(Integer id, String newPwd);
}
